import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/views/Home'
import Report from '@/views/Report'
import User from '@/views/User'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/home'
    },
    {
      path: '/home',
      name: 'home',
      component: Home
    },
    {

      path: '/report',
      name: 'report',
      component: Report

    },
    {

      path: '/user',
      name: 'user',
      component: User

    }
  ]
})
